package com.be.beadmin.device.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: chenxu
 * @Date: 2023/7/28 20:17
 * @Description: 巡检记录
 */
@Table(name="T_DE_InspectPlan")
@Data
@Entity
public class InspectPlan extends BaseEntity {
@Column(name = "Identification",columnDefinition = "VARCHAR(50) COMMENT '唯一标识' ")
private String Identification;
@Column(name = "InspectID", columnDefinition = "varchar(20) COMMENT '计划单号' ")
private String InspectID;

@Column(name = "InspectDesc", columnDefinition = "varchar(200) COMMENT '计划描述' ")
private String InspectDesc;

@Column(name = "PlanType", columnDefinition = "varchar(20) COMMENT '计划类型 巡检/保养' ")
private String PlanType;

@Column(name = "InspectBy", columnDefinition = "varchar(20) COMMENT '计划人' ")
private String InspectBy;

@Column(name = "Period", columnDefinition = "varchar(20) COMMENT '计划周期 年/月/周/日' ")
private String Period;

@Column(name = "Times", columnDefinition = "int COMMENT '计划频率' ")
private String Times;

@Column(name = "Category", columnDefinition = "varchar(20) COMMENT '任务类别' ")
private String Category;

@Column(name = "IsValid", columnDefinition = "bit COMMENT '是否有效' ")
private boolean IsValid;

@Column(name = "DueTime", columnDefinition = "datetime COMMENT '截止时间' ")
private Date DueTime;

@Column(name = "CreateBy", columnDefinition = "varchar(20) COMMENT '创建人' ")
private String CreateBy;

@Column(name = "UpdateBy", columnDefinition = "varchar(20) COMMENT '更新人' ")
private String UpdateBy;

@Column(name = "TemplateID", columnDefinition = "varchar(20) COMMENT '模板ID' ")
private String TemplateID;
}
